package com.oop.demo05;
//java继承
//核心思想
public class Application {
    public static void main(String[] args) {
        Student student = new Student();
        student.say();
        System.out.println(student.money);

        Teacher teacher = new Teacher();
        teacher.say();
        System.out.println(teacher.money);
    }
}
